import React from "react";
import { Outlet } from "react-router-dom";
import Menu from "../../component/Menu";
import Head from "../../component/Head";
import "./style.css";

const Index = () => {
  return (
    <div className="home">
      <div className="head">
          <Head></Head>
      </div>
      <div className="body">
        <div className="left">
          <Menu></Menu>
        </div>
        <div className="right">
          <Outlet />
        </div>
      </div>
    </div>
  );
};

export default Index;
